package com.yunke.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;

/**
 * 微信登录DTO
 * 
 * @author yunke
 * @since 1.0.0
 */
@Data
@Schema(description = "微信登录请求")
public class YunkeWechatLoginDto {

    /**
     * 微信授权码
     */
    @NotBlank(message = "微信授权码不能为空")
    @Schema(description = "微信授权码", example = "021abc123def456")
    private String code;

    /**
     * 邀请码（可选）
     */
    @Size(max = 20, message = "邀请码长度不能超过20个字符")
    @Schema(description = "邀请码", example = "INV123456")
    private String inviteCode;
} 